<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>NFT市场 - Web3 AI数字人NFT交互平台</title>
    <link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css" rel="stylesheet">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
    <style>
        body {
            background: linear-gradient(135deg, #0f0f2d 0%, #1a1a40 100%);
            color: white;
            font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
            height: 100vh;
            margin: 0;
            padding: 0;
            overflow-y: auto;
        }
        .market-container {
            height: 100%;
            display: flex;
            flex-direction: column;
        }
        .search-bar {
            padding: 15px 20px;
            position: sticky;
            top: 0;
            z-index: 10;
            background: rgba(15, 15, 45, 0.8);
            backdrop-filter: blur(10px);
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }
        .search-input {
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            padding: 10px 15px;
            width: 100%;
            color: white;
        }
        .filter-bar {
            display: flex;
            overflow-x: auto;
            padding: 10px 15px;
            gap: 10px;
            background: rgba(15, 15, 45, 0.5);
            white-space: nowrap;
        }
        .filter-chip {
            background: rgba(124, 58, 237, 0.2);
            border: 1px solid rgba(124, 58, 237, 0.5);
            border-radius: 20px;
            padding: 6px 12px;
            font-size: 12px;
            color: #a78bfa;
            display: inline-block;
        }
        .filter-chip.active {
            background: #7c3aed;
            color: white;
        }
        .nft-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 15px;
            padding: 15px;
            overflow-y: auto;
            flex: 1;
        }
        .nft-card {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 16px;
            overflow: hidden;
            transition: transform 0.3s ease;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }
        .nft-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px -5px rgba(124, 58, 237, 0.3);
        }
        .nft-image {
            width: 100%;
            aspect-ratio: 1;
            object-fit: cover;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }
        .nft-info {
            padding: 12px;
        }
        .nft-name {
            font-weight: bold;
            margin-bottom: 5px;
            font-size: 14px;
        }
        .nft-personality {
            color: #a78bfa;
            font-size: 12px;
            margin-bottom: 8px;
        }
        .nft-price {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        .price-value {
            font-weight: bold;
            color: #3b82f6;
            font-size: 14px;
        }
        .try-button {
            background: rgba(124, 58, 237, 0.2);
            color: #a78bfa;
            border-radius: 12px;
            padding: 4px 8px;
            font-size: 10px;
            border: 1px solid rgba(124, 58, 237, 0.5);
        }
        .rarity-badge {
            position: absolute;
            top: 10px;
            right: 10px;
            background: rgba(0, 0, 0, 0.6);
            border-radius: 10px;
            padding: 3px 8px;
            font-size: 10px;
            color: #f59e0b;
        }
        .glow {
            position: fixed;
            width: 200px;
            height: 200px;
            border-radius: 50%;
            filter: blur(80px);
            z-index: -1;
        }
        .glow-1 {
            top: 20%;
            left: 10%;
            background: rgba(124, 58, 237, 0.15);
        }
        .glow-2 {
            bottom: 10%;
            right: 10%;
            background: rgba(59, 130, 246, 0.15);
        }
    </style>
</head>
<body>
    <div class="glow glow-1"></div>
    <div class="glow glow-2"></div>
    
    <div class="market-container">
        <div class="search-bar">
            <div class="relative">
                <i class="fas fa-search absolute left-3 top-3 text-gray-400"></i>
                <input type="text" class="search-input pl-10" placeholder="搜索AI数字人...">
            </div>
        </div>
        
        <div class="filter-bar">
            <div class="filter-chip active">全部</div>
            <div class="filter-chip">创意型</div>
            <div class="filter-chip">助手型</div>
            <div class="filter-chip">娱乐型</div>
            <div class="filter-chip">教育型</div>
            <div class="filter-chip">虚拟商品</div>
            <div class="filter-chip">稀有度</div>
            <div class="filter-chip">价格</div>
        </div>
        
        <!-- 虚拟商品推荐 -->
        <div class="p-4 bg-opacity-30 bg-purple-900 rounded-lg mx-4 my-3">
            <div class="flex justify-between items-center mb-2">
                <h3 class="font-bold text-white">虚拟商品推荐</h3>
                <a href="virtual-goods.html" class="text-xs text-purple-300">查看全部 <i class="fas fa-chevron-right ml-1"></i></a>
            </div>
            <div class="flex overflow-x-auto pb-2 gap-3">
                <div class="flex-shrink-0 w-20 flex flex-col items-center">
                    <div class="w-16 h-16 rounded-full bg-opacity-20 bg-purple-500 flex items-center justify-center text-2xl text-pink-400">
                        <i class="fas fa-rose"></i>
                    </div>
                    <div class="text-xs mt-1 text-center">电子玫瑰</div>
                    <div class="text-xs text-blue-400">80 币</div>
                </div>
                <div class="flex-shrink-0 w-20 flex flex-col items-center">
                    <div class="w-16 h-16 rounded-full bg-opacity-20 bg-purple-500 flex items-center justify-center text-2xl text-yellow-400">
                        <i class="fas fa-crown"></i>
                    </div>
                    <div class="text-xs mt-1 text-center">皇冠</div>
                    <div class="text-xs text-blue-400">1000 币</div>
                </div>
                <div class="flex-shrink-0 w-20 flex flex-col items-center">
                    <div class="w-16 h-16 rounded-full bg-opacity-20 bg-purple-500 flex items-center justify-center text-2xl text-blue-400">
                        <i class="fas fa-rocket"></i>
                    </div>
                    <div class="text-xs mt-1 text-center">火箭</div>
                    <div class="text-xs text-blue-400">500 币</div>
                </div>
                <div class="flex-shrink-0 w-20 flex flex-col items-center">
                    <div class="w-16 h-16 rounded-full bg-opacity-20 bg-purple-500 flex items-center justify-center text-2xl text-purple-400">
                        <i class="fas fa-gem"></i>
                    </div>
                    <div class="text-xs mt-1 text-center">钻石</div>
                    <div class="text-xs text-blue-400">200 币</div>
                </div>
                <div class="flex-shrink-0 w-20 flex flex-col items-center">
                    <div class="w-16 h-16 rounded-full bg-opacity-20 bg-purple-500 flex items-center justify-center text-2xl text-green-400">
                        <i class="fas fa-tshirt"></i>
                    </div>
                    <div class="text-xs mt-1 text-center">太空服</div>
                    <div class="text-xs text-blue-400">300 币</div>
                </div>
            </div>
        </div>
        
        <div class="nft-grid">
            <!-- NFT卡片1 -->
            <div class="nft-card relative">
                <img src="https://images.unsplash.com/photo-1531746020798-e6953c6e8e04?ixlib=rb-1.2.1&auto=format&fit=crop&w=300&q=80" class="nft-image" alt="AI数字人">
                <div class="rarity-badge"><i class="fas fa-gem mr-1"></i> 稀有</div>
                <div class="nft-info">
                    <div class="nft-name">星际探索者</div>
                    <div class="nft-personality">创意型 · 探险家</div>
                    <div class="nft-price">
                        <div class="price-value"><i class="fab fa-ethereum mr-1"></i> 0.25 ETH</div>
                        <button class="try-button">试用</button>
                    </div>
                </div>
            </div>
            
            <!-- NFT卡片2 -->
            <div class="nft-card relative">
                <img src="https://images.unsplash.com/photo-1550745165-9bc0b252726f?ixlib=rb-1.2.1&auto=format&fit=crop&w=300&q=80" class="nft-image" alt="AI数字人">
                <div class="nft-info">
                    <div class="nft-name">数据分析师</div>
                    <div class="nft-personality">助手型 · 专业</div>
                    <div class="nft-price">
                        <div class="price-value"><i class="fab fa-ethereum mr-1"></i> 0.18 ETH</div>
                        <button class="try-button">试用</button>
                    </div>
                </div>
            </div>
            
            <!-- NFT卡片3 -->
            <div class="nft-card relative">
                <img src="https://images.unsplash.com/photo-1620712943543-bcc4688e7485?ixlib=rb-1.2.1&auto=format&fit=crop&w=300&q=80" class="nft-image" alt="AI数字人">
                <div class="rarity-badge"><i class="fas fa-gem mr-1"></i> 史诗</div>
                <div class="nft-info">
                    <div class="nft-name">虚拟偶像</div>
                    <div class="nft-personality">娱乐型 · 活力</div>
                    <div class="nft-price">
                        <div class="price-value"><i class="fab fa-ethereum mr-1"></i> 0.35 ETH</div>
                        <button class="try-button">试用</button>
                    </div>
                </div>
            </div>
            
            <!-- NFT卡片4 -->
            <div class="nft-card relative">
                <img src="https://images.unsplash.com/photo-1507413245164-6160d8298b31?ixlib=rb-1.2.1&auto=format&fit=crop&w=300&q=80" class="nft-image" alt="AI数字人">
                <div class="nft-info">
                    <div class="nft-name">知识导师</div>
                    <div class="nft-personality">教育型 · 智慧</div>
                    <div class="nft-price">
                        <div class="price-value"><i class="fab fa-ethereum mr-1"></i> 0.22 ETH</div>
                        <button class="try-button">试用</button>
                    </div>
                </div>
            </div>
            
            <!-- NFT卡片5 -->
            <div class="nft-card relative">
                <img src="https://images.unsplash.com/photo-1531747118685-ca8fa6e08806?ixlib=rb-1.2.1&auto=format&fit=crop&w=300&q=80" class="nft-image" alt="AI数字人">
                <div class="nft-info">
                    <div class="nft-name">音乐创作家</div>
                    <div class="nft-personality">创意型 · 艺术</div>
                    <div class="nft-price">
                        <div class="price-value"><i class="fab fa-ethereum mr-1"></i> 0.28 ETH</div>
                        <button class="try-button">试用</button>
                    </div>
                </div>
            </div>
            
            <!-- NFT卡片6 -->
            <div class="nft-card relative">
                <img src="https://images.unsplash.com/photo-1485827404703-89b55fcc595e?ixlib=rb-1.2.1&auto=format&fit=crop&w=300&q=80" class="nft-image" alt="AI数字人">
                <div class="rarity-badge"><i class="fas fa-gem mr-1"></i> 传奇</div>
                <div class="nft-info">
                    <div class="nft-name">未来预言家</div>
                    <div class="nft-personality">娱乐型 · 神秘</div>
                    <div class="nft-price">
                        <div class="price-value"><i class="fab fa-ethereum mr-1"></i> 0.45 ETH</div>
                        <button class="try-button">试用</button>
                    </div>
                </div>
            </div>
        </div>
    </div>
</body>
</html>